package com.shengqin.service;

import com.shengqin.entity.Plan;
import com.shengqin.entity.TestResult;

import java.util.List;

public interface ITestResultProcessService {
    void processTestResult(TestResult testResult, Plan plan, TestResultProcessor processor);
    interface TestResultProcessor {
        void processExistingResult(TestResult testResult, TestResult existingResult, Plan plan);
        void saveNewResult(TestResult testResult, Integer planId);
    }
} 